package com.lb.testdao.mapper;




import com.lb.tetcommon.bean.Commodity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * (test.commodity)表数据库访问层
 */

@Mapper
public interface CommodityMapper {
    int deleteByPrimaryKey(Integer cno);

    int insert(Commodity record);

    int insertSelective(Commodity record);

    Commodity selectByPrimaryKey(Integer cno);

    int updateByPrimaryKeySelective(Commodity record);

    int updateByPrimaryKey(Commodity record);

    List<Commodity> selectAll();
}